package com.dfbz.demo03_枚举的抽象方法;

/**
 * @author lscl
 * @version 1.0
 * @intro:
 */
public enum Season {

    SPRING() {
        @Override
        public void fun() {
            System.out.println("我是春天.....");
        }
    },


    WINTER() {
        @Override
        public void fun() {
            System.out.println("我是冬天哦！");
        }

        @Override
        public void show() {

            System.out.println("我是winter里面的show....");
        }
    },

    AUTUMN() {
        @Override
        public void fun() {
            System.out.println("我是秋天");
        }
    };


    public void show() {
        System.out.println("我是普通方法");
    }

    public abstract void fun();
}
